/**
 * Created by hehe on 2015/7/21.
 */
var express = require('express'),
    orderRouter = express.Router(),
    orderAction = require('../action/OrderAction');

orderRouter.get('/beginParseExcel',orderAction.beginParseExcel);

orderRouter.get('/findOrderByConditions',orderAction.findOrderByConditions);

orderRouter.get('/exportExcel',orderAction.exportExcel);

orderRouter.get('/doubleChecked',orderAction.doubleChecked);

orderRouter.post('/updateOrder',orderAction.updateOrder);

orderRouter.get('/deleteOrder',orderAction.deleteOrder);

orderRouter.get('/deleteOrderByBatchID',orderAction.deleteOrderByBatchID);

orderRouter.get('/findOrderInfoByOrderID',orderAction.findOrderInfoByOrderID);

orderRouter.post('/inWareHouse',orderAction.inWareHouse);

orderRouter.post('/exWareHouse',orderAction.exWareHouse);

module.exports = orderRouter;